package org.HU.train.business.feign;

import org.HU.train.common.request.MemberTicketReq;
import org.HU.train.common.response.CommonResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author ZUZ
 * @Description: 调用member模块的FeignTicketController
 * @Date 2024-12-22 17:59
 * @ClassName: MemberFeign
 */
@FeignClient("member")
//@FeignClient(name = "member", url = "http://127.0.0.1:8001")
public interface MemberFeign {

    @GetMapping("/member/feign/ticket/save")
    CommonResp<Object> save(@RequestBody MemberTicketReq req);

}
